<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <title>管理员登录</title>
    <!-- 共用相同样式 -->
</head>
<body>
<div class="ant-container" style="background: #f5f7fa;">
    <div class="ant-card">
        <h2 class="ant-title">管理员登录</h2>
        {% if error %}
            <div class="ant-alert ant-alert-error">{{ error }}</div>
        {% endif %}
        <form method="post" class="ant-form">
            {% csrf_token %}
            <div class="form-group">
                <label for="username" class="ant-label">管理员账号</label>
                <input type="text" id="username" name="username" class="ant-input">
            </div>
            <div class="form-group">
                <label for="password" class="ant-label">管理密码</label>
                <input type="password" id="password" name="password" class="ant-input">
            </div>
            <button type="submit" class="ant-btn">
                进入管理系统
                <div class="hover-effect"></div>
            </button>
        </form>
    </div>
</div>
</body>
</html>